package com.voole.service;

import java.util.List;

import org.springframework.stereotype.Service;

import com.voole.entity.SysAuthority;

public interface ISysAuthorityService {
	
	/**
	 * 获取所有一级菜单（顶侧菜单）
	 */
	List<SysAuthority> getList() throws Exception;
	
	/**
	 * 新增 一级菜单
	 * @return id
	 */
	Integer addAuthority(String authorityName, Integer sort, Integer status) throws Exception;
}
